﻿<!DOCTYPE HTML>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="renderer" content="webkit|ie-comp|ie-stand">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
		<meta http-equiv="Cache-Control" content="no-siteapp" />
		<link rel="stylesheet" type="text/css" href="__STATIC__/static/h-ui/css/H-ui.min.css" />
		<link rel="stylesheet" type="text/css" href="__STATIC__/static/h-ui.admin/css/H-ui.admin.css" />
		<link rel="stylesheet" type="text/css" href="__STATIC__/lib/Hui-iconfont/1.0.8/iconfont.css" />
		<link rel="stylesheet" type="text/css" href="__STATIC__/static/h-ui.admin/skin/default/skin.css" id="skin" />
		<link rel="stylesheet" type="text/css" href="__STATIC__/static/h-ui.admin/css/style.css" />
		<link rel="stylesheet" href="__STATIC__/css/page.css" />
		<title>用户管理</title>
	</head>

	<body>
		<div class="page-container">
			<div class="text-c">
				<input type="text" class="input-text" style="width:250px" placeholder="输入会员电话" id="userPhone" name="">
				<button type="submit" class="btn btn-success radius" id="btnPhone" name=""><i class="Hui-iconfont">&#xe665;</i> 搜用户</button>
			</div>
			<div class="cl pd-5 bg-1 bk-gray mt-20"> <span>会员列表</span><span class="r">共有数据：<strong>{$num}</strong> 条</span> </div>
			<div class="mt-20">
				<table class="table table-border table-bordered table-hover table-bg table-sort">
					<thead>
						<tr class="text-c">
							<th width="80">ID</th>
							<th width="100">用户手机</th>
							<th width="90">用户昵称</th>
							<th width="130">加入时间</th>
						</tr>
					</thead>
					<tbody>
						{volist name="userarr" id="item"}
						<tr class="text-c">
							<td>{$item['id']}</td>
							<td>{$item['user_name']}</td>
							<td>{$item['user_nick']}</td>
							<td>{$item['user_time']}</td>
						</tr>
						{/volist}
					</tbody>
				</table>
			</div>
			<div class="page">{$userarr->render()}</div>
		</div>
		<!--_footer 作为公共模版分离出去-->
		<script type="text/javascript" src="__STATIC__/lib/jquery/1.9.1/jquery.min.js"></script>
		<script type="text/javascript" src="__STATIC__/lib/layer/2.4/layer.js"></script>
		<script type="text/javascript" src="__STATIC__/static/h-ui/js/H-ui.min.js"></script>
		<script type="text/javascript" src="__STATIC__/static/h-ui.admin/js/H-ui.admin.js"></script>
		<!--/_footer 作为公共模版分离出去-->

		<!--请在下方写此页面业务相关的脚本-->
		<script type="text/javascript" src="__STATIC__/lib/My97DatePicker/4.8/WdatePicker.js"></script>
		<script type="text/javascript" src="__STATIC__/lib/laypage/1.2/laypage.js"></script>
		
		<script type="text/javascript">
			$(function() {
				//分页添加样式
				$(".page li").click(function(){
					$(this).addClass("active").siblings().removeClass("active");
				});
				//条件查询
				$("#btnPhone").click(function(){
					var phone = $("#userPhone").val();
					location.href = "http://118.24.83.96:80/wojuAdmin/public/admin/User/index?userPhone="+phone;
				})
			});
		</script>
	</body>

</html>